| Conditions | 2 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | const ParametersParser = require('./2.0/ParametersParser'), |
||
| 19 | constructor (data) { |
||
| 20 | super() |
||
| 21 | |||
| 22 | if (new.target === BaseParser) { |
||
| 23 | throw new TypeError('Cannot construct Abstract instances directly') |
||
| 24 | } |
||
| 25 | |||
| 26 | this.data = data |
||
| 27 | this.paramParser = new ParametersParser() |
||
| 28 | this.schemaParser = new SecuritySchemaParser() |
||
| 29 | } |
||
| 30 | } |
||
| 32 | module.exports = BaseParser |